package com.wamke.mapper;


import com.github.pagehelper.Page;
import com.wamke.pojo.Dept;
import com.wamke.pojo.DeptDTO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DeptMapper {


    Page<Dept> selectCondition(DeptDTO deptDTO);

    @Delete("delete from dept where id =#{id}")
    void delete(String id);
}
